/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package webResource;

import com.google.gson.Gson;
import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import model.Booking;

/**
 * REST Web Service
 *
 * @author Jorge
 */
@Path("payment")
public class ServicePayment {

    /**
     * Creates a new instance of ServicePayment
     */
    public ServicePayment() {
    }

    /**
     * Retrieves representation of an instance of webResource.ServicePayment
     * @return an instance of java.lang.String
     */
    @POST
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces("application/json")
    public String makePayment(Booking booking) 
	{
		// FIXME How this service would be implemented?
               return "true";
	}

    /**
     * PUT method for updating or creating an instance of ServicePayment
     * @param content representation for the resource
     * @return an HTTP response with content of the updated or created resource.
     */
   
}
